body {
  font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.position-absolute-z-index-999 {
  position: absolute;
  z-index: 999;
}

.web-menu-position-top {
  position: absolute;
  top: 23px;
  right: 29px;
}

.electron-menu-position-top {
  position: fixed;
  top: 23px;
  right: 29px;
}

.device-container {
  display: flex;
  flex-direction: row;
  width: 700px;
  height: 500px;
  background:#EEF1F3;
  color: #333333;
  box-shadow:0px 6px 18px 0px rgba(0,0,0,0.2);
  border-radius:8px;
}

.space-between {
  justify-content: space-between;
}

.items-columns {
  display: flex;
  flex-direction: row;
}

.device-page-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 44px 60px;
  position: relative;

  .maximum-sider.MuiSlider-root {
    width: 440px;
  }

  .test-box {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 45px; 
    top: 20px;  

    .test-item {
      display: flex;
      flex-direction: row;
      margin-top: 50px;

      .text {
        display: flex;
        flex-direction: row;
        margin-top: 10px;
      }
    }
  }
  
  .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;

    .margin-top-30 {
      margin-top: 20px;
    }

    .button-group {
      position: absolute;
      bottom: 20px;
      width: 60%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;

      .unconfirm.MuiButtonBase-root.custom-button {
        background: #fff;
        color: initial;
        border: 1px solid rgba(151,151,151,1);
        &:hover {
          background: #fff;
        }
      }

      .MuiButtonBase-root.custom-button {
        width: 120px;
        height: 40px;
        background: #44A2FC;
        border-radius: 22px;
        text-transform: none;
        &:hover {
          background: #82C2FF;
        }
        position: relative;
        bottom: -14px;
      }
    }

    .items-row {
      display: flex;
      flex: 1;
      flex-direction: row;
      justify-content: space-between;
    }
  }

  .volume-container {
    display: flex;
    flex-direction: row;
    height: 54px;
    align-items: center;
  }
}

#stream-player {
  width: 430px;
  height: 242px;
  background-color: #EEEEEE;
  border-radius: 4px;
  margin-top: 30px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  &::before {
    display: flex;
    content: ' ';
    width: 87px;
    height: 87px;
    background: url('./assets/icon-video-placeholder.png') no-repeat;
    background-size: contain;
    position: absolute;
  }
}

.device-menu {
  display: flex;
  width: 140px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 50px;

  .header {
    height: 40px;
  }

  .active {
    background: white;
    border-left: 3px solid #44A2FC;
  }

  .item {
    display: flex;
    flex: 1;
    width: 100%;
  }

  .link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: initial;
    box-sizing: border-box;
  }
}

.device-view {
  border-radius: 8px;
  display: flex;
  width: 560px;
  background: white;
  position: relative;
}

.camera > .MuiInput-root {
  min-width: 260px;
  max-width: 260px;
}

.resolution > .MuiInput-root {
  min-width: 135px;
  max-width: 135px;
}

.microphone > .MuiInput-root {
  width: 100%;
}

.align-center {
  justify-content: center;
}

.camera-icon {
  width: 70px;
  height: 70px;
  background: url('./assets/icon-camera-small.png') no-repeat;
  background-size: contain;
}

.microphone-icon {
  width: 70px;
  height: 70px;
  background: url('./assets/icon-microphone-small.png') no-repeat;
  background-size: contain;
}

.speaker-icon {
  width: 70px;
  height: 70px;
  background: url('./assets/icon-speaker-small.png') no-repeat;
  background-size: contain;
}

.camera-icon-large {
  width: 135px;
  height: 135px;
  background: url('./assets/icon-camera-large.png') no-repeat;
  background-size: contain;
}

.microphone-icon-large {
  width: 135px;
  height: 135px;
  background: url('./assets/icon-microphone-large.png') no-repeat;
  background-size: contain;
}

.microphone-icon-large-error {
  width: 135px;
  height: 135px;
  background: url('./assets/icon-microphone-large-error.png') no-repeat;
  background-size: contain;
}

.camera-icon-test {
  width: 38px;
  height: 38px;
  background: url('./assets/icon-small-camera.png') no-repeat;
  background-size: contain;
}

.microphone-icon-test {
  width: 38px;
  height: 38px;
  background: url('./assets/icon-small-microphone.png') no-repeat;
  background-size: contain;
}

.speaker-icon-test {
  width: 38px;
  height: 38px;
  background: url('./assets/icon-small-speaker.png') no-repeat;
  background-size: contain;
}

.icon-error-test {
  width: 14px;
  height: 14px;
  margin: 5px 8px 0 17px;
  background: url('./assets/icon-caution.png') no-repeat;
  background-size: contain;
}

.icon-success-test {
  width: 14px;
  height: 14px;
  margin: 5px 8px 0 17px;
  background: url('./assets/icon-success.png') no-repeat;
  background-size: contain;
}

// .video-placeholder-icon {
//   width: 87px;
//   height: 87px;
//   background: url('./assets/icon-video-placeholder.png') no-repeat;
//   background-size: contain;
// }

.speaker-icon-large {
  width: 135px;
  height: 135px;
  background: url('./assets/icon-speaker-large.png') no-repeat;
  background-size: contain;
}

.play-icon {
  cursor: pointer;
  width: 50px;
  height: 50px;
  background: url('./assets/icon_play.png') no-repeat;
  background-size: contain;
}

.pause-icon {
  cursor: pointer;
  width: 50px;
  height: 50px;
  background: url('./assets/icon_pause.png') no-repeat;
  background-size: contain;
}

.test-report {
  display: flex;
  flex: 1;
  flex-direction: column;
}